package com.parenting.entities;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 平台用户表
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-10-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("platform_user")
@ApiModel(value="PlatformUserDO对象", description="平台用户表")
public class PlatformUserDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "PLATFORM_USER_ID", type = IdType.AUTO)
    private String platformUserId;

    @ApiModelProperty(value = "账号")
    private String platformUserAccount;

    @ApiModelProperty(value = "密码")
    private String platformUserPassword;

    @ApiModelProperty(value = "昵称")
    private String platformUserNickname;

    @ApiModelProperty(value = "头像URL")
    private String platformUserHead;

    @ApiModelProperty(value = "注册手机号")
    private String mobile;

    @ApiModelProperty(value = "帐户是否过期(1 未过期，0已过期)")
    private Integer isAccountNonExpired;

    @ApiModelProperty(value = "帐户是否被锁定(1 未过期，0已过期")
    private Integer isAccountNonLocked;

    @ApiModelProperty(value = "密码是否过期(1 未过期，0已过期)")
    private Integer isCredentialsNonExpired;

    @ApiModelProperty(value = "帐户是否可用(1 可用，2 删除用户)")
    private Integer isEnabled;

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;


}
